public class Test {
    public static void main(String[] args) {
        System.out.println(9 + '0');
        System.out.println(9 - '0');
        System.out.println((int)'9' );
        System.out.println( (int)'0');
        System.out.println('9' + '0');
        System.out.println('9' - '0');
    }
}
